<template>
	<view class="page content">
		<TopHead :title="'关于我们'"></TopHead>
		<view class="contBox">
			<view class="title1">公司简介</view>
			<view class="details">
				<p>    “知到了”是率先将健康管理与智慧生活服务紧密结合的互联网平台。 集成了<span>健康商城、健康管理、康复护理三大功能。</span> </p>
				<p>&nbsp;&nbsp;&nbsp;&nbsp;聚焦于中青年及老年人群中注重健康、焦虑亚健康和寻求慢病康复的长期深层次需求，提供从健康餐饮、运动健身、情绪好眠、保健养生、健康管理到康复护理<span>六大细分领域</span>提供<span>全面、科学、多元、个性化</span>的健康生活服务、产品及解决方案。平台采取透明公开化运营，倡导<span>终身用户、终身服务</span>的经营理念。
				</p>
				<image src="../../static/img/aboutus.jpg"></image>
				<p><span>宗旨：</span>帮助人们制定长期、科学、有效的健康计划，指导和培养积极、健康的生活方式。</p>
				<p><span>支撑:</span>围绕“生活方式医学”相关的营养科学、运动生理学、心理及行为科学、社会人际关系学、睡眠科学、临床医学等学科，已搭建健康管理师、营养师、心理咨询师、康复师、公益社工、互联网运营专家技术团队等资源支持体系。
				</p>
				<p><span>愿景：</span>让医学回归生活！让健康触手可及！</p>

			</view>
		</view>
	</view>
</template>

<script>
	// import HotsellingList from '@/components/basics/hotSellingList.vue';
	// import KnowingFood from '@/components/basics/KnowingFood.vue';
	import TopHead from '../../components/topHead/topHead.vue';
	export default {
		components: {
			TopHead
		},
		data() {
			return {

				list: [], // 列表
				page: 1,
				pageSize: 20, // 
				total: 0, // 总数
				hotList: [], // 热销
			}
		},
		onLoad() {

		},
		onShow() {
			this.page = 1
			this.total = 0
			this.list = []
			// this.initData()
		},
		onReachBottom() {
			// 触底分页
			console.log('触底')
			if (this.total > this.list.length) {
				this.page = parseInt(this.page) + 1
			}
		},
		methods: {
			// 数据请求示例
			initData() {
				let _this = this;
				_this.$http.fetchData({
					url: '/api/biaoduan',
					method: 'GET',
					data: {},
					success(res) {
						// uni.showToast({
						// 	title: res.message,
						// 	icon: 'none'
						// });
						_this.list = [..._this.list, ...res.data]
						this.total = res.total
						let listData = res.data
						if (res.total == 1) {
							let id = listData[0].id
							let total = this.total
							let paramsStr = `?biaoduan_id=${id}&biaoduanTotal=${total}`
							uni.redirectTo({
								url: `/pages/procedureList/procedureList${paramsStr}`
							})
						}
					}
				})
			},
			// 查看详情
			announcementDetails(item) {
				console.log(item.id)
				let id = item.id
				let paramsStr = `?id=${id}`
				uni.navigateTo({
					url: `/pages/index/announcementDetails${paramsStr}`
				})
			},

		}
	}
</script>

<style scoped>
	.content {
		background: rgba(62, 122, 233, 0.05);
		padding-bottom: 60rpx;
		height: 100%;
		box-sizing: border-box;
		overflow-y: auto;
	}

	.contBox {
		padding: 30rpx;
		padding-top: 196rpx;
	}

	.title1 {
		font-size: 32rpx;
		font-family: Microsoft YaHei, Microsoft YaHei-Bold;
		font-weight: 700;
		text-align: center;
		color: #5d4529;
	}

	.time {
		font-size: 24rpx;
		font-family: Microsoft YaHei, Microsoft YaHei-Regular;
		font-weight: 400;
		text-align: center;
		color: #b8c5d3;
		margin-top: 30rpx;

	}

	.details {
		margin-top: 30rpx;
		font-size: 28rpx;
		font-family: Microsoft YaHei, Microsoft YaHei-Regular;
		font-weight: 400;
		color: #22172a;
	}
	.details image{
		text-align: center;
		 width: 100%;
	}
	.details span{
		font-weight: bold;
		font-size: 28rpx;
		font-family: Microsoft YaHei, Microsoft YaHei-Regular;
	}
</style>